package cards;

import model.Board;
import model.Player;

public class GoToJail extends GoTo {

	public GoToJail(String text) {
		super(text);
	}

	@Override
	public void execute(Player player) {
		Board.fields[Board.GOTOJAILPOSITION - 1].landOnField(player);
	}
}